<?php 
HeaderScripts::addJsLibrary(array(
	'curvyCorners.js',
	'jquery/jquery.qtip.js',
	'jquery/jquery.form.js'
));
HeaderScripts::addScripts(array(
	'site/order.js'
));
?>
<div class="headerBlock">
	<div class="headerTxt">Форма заказа</div>
	<div class="clear"></div>
</div>
<div class="detailedBlock" style="margin-top: 10px;">
	<form action="/hotel/orderprocess/" name="orderForm" id="orderForm" method="post">
	<input type="hidden" name="hotelId" value="<?php echo htmlspecialchars($hotel->id) ?>" id="orderHotelId"> 
	<div class="headerOrderForm">Отель: <?php echo htmlspecialchars($hotel->title) ?></div>
	<div class="textFormField brownBg" id="orderFormName">
		<div class="textFormLabel"><label for="orderName">ИМЯ</label></div>
		<div class="textFormInput"><input type="text" name="name" id="orderName" value="" class="textFormInputElement requiredValue"></div>
		<div class="clear"></div>
	</div>
	<div class="textFormField brownBg" id="orderFormSurename">
		<div class="textFormLabel"><label for="orderSurename">ФАМИЛИЯ</label></div>
		<div class="textFormInput"><input type="text" name="surename" id="orderSurename" value="" class="textFormInputElement requiredValue"></div>
		<div class="clear"></div>
	</div>
	<div class="textFormField brownBg" id="orderFormPhone">
		<div class="textFormLabel"><label for="orderPhone">ТЕЛЕФОН</label></div>
		<div class="textFormInput"><input type="text" name="phone" id="orderPhone" value="" class="textFormInputElement requiredValue"></div>
		<div class="clear"></div>
	</div>
	<div class="textFormField whiteBg" id="orderFormEmail">
		<div class="textFormLabel"><label for="orderEmail">EMAIL</label></div>
		<div class="textFormInput"><input type="text" name="email" id="orderEmail" value="" class="textFormInputElement"></div>
		<div class="clear"></div>
	</div>
	<div class="textAreaFormField whiteBg" id="orderFormComment">
		<div class="textAreaFormLabel"><label for="orderComment">КОММЕНТАРИИ</label></div>
		<div class="textAreaFormInput"><textarea id="orderComment" name="comment" value="" class="textAreaFormInputElement"></textarea>
		</div>
	</div>
	<table border="0" width="700">
		<tr>
			<td align="left" width="65"><div class="requiredFields brownBg" id="requiredFields"></div></td>
			<td align="left" class="requiredFieldsNote">ОБЯЗАТЕЛЬНЫЕ ПОЛЯ</td>
			<td align="right" width="140"><div class="orderButton" id="formClear"><div class="orderButtonTxt">ОЧИСТИТЬ</div></div></td>
			<td align="right" width="140"><div class="orderButton" id="formSend"><div class="orderButtonTxt">ОТПРАВИТЬ</div></div></td>
		</tr>
	</table>
	</form>
</div>